/*
 * Copyright (c) 2025 Industrial Software Feature Database
 */
package com.comac.ins.isfd.util.bdfparser.entities.bdf;

import com.comac.ins.isfd.util.bdfparser.entities.bdf.rawdata.RawDataLine;
import com.comac.ins.isfd.util.bdfparser.entities.bdf.sections.BulkDataEntry;
import com.comac.ins.isfd.util.bdfparser.entities.bdf.sections.FileManagementStatement;
import com.comac.ins.isfd.util.bdfparser.entities.bdf.sections.NastranStatement;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * BDF实体类
 */
@Data
public class BDFEntity {

    /**
     * Nastran声明类
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private NastranStatement nastranStatement;

    /**
     * 文件管理类
     */
    private FileManagementStatement fileManagementStatement;

    /**
     * bulkData实体类
     */
    private BulkDataEntry bulkDataEntry;


    /**
     * 原始数据行
     */
    private Map<String, List<RawDataLine>> parsedDataLines;


    /**
     * bdf类型
     * @see com.comac.ins.isfd.util.bdfparser.enums.ContentTypeEnum
     */
    private String contentType;
}
